import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
// import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'echarts-wordcloud';

import 'video.js/dist/video-js.css';
import 'videojs-flash'; // 要播放rtmp流, 就必须引入videojs-flash
import hls from 'videojs-contrib-hls';


// 自定义方法
import plugins from '@/plugins'

// 全局css 
import 'element-plus/dist/index.css'
import './style/global.less'
import './style/theme-bright.less'
// import './style/theme-dark.less'

const project = createApp(App);

project.use(hls);  // 要播放hls流, 就必须引入videojs-contrib-hls
project.use(store);
project.use(plugins);
project.use(router);
project.use(ElementPlus)
project.mount('#app');

export default project;